{include file="public/header" /}
<style>
    .layui-input-block {
        width: 50%
    }
</style>
<body>
<div class="x-body">
    <form action="{:url('save')}" class="layui-form" id="form">
        <input type="hidden" name="id" value="{$info.id}"/>
        <div class="layui-form-item">
            <label class="layui-form-label">会员编号 </label>
            <div class="layui-input-block">
                <input type="text" value="{$info.user.code}" class="layui-input" disabled="disabled"/>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">会员姓名 </label>
            <div class="layui-input-block">
                <input type="text" value="{$info.user.nickname}" class="layui-input" disabled="disabled"/>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">会员手机号 </label>
            <div class="layui-input-block">
                <input type="text" value="{$info.user.mobile}" class="layui-input" disabled="disabled"/>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">充值金额</label>
            <div class="layui-input-block">
                <input type="text" value="{$info.amount}" class="layui-input" disabled="disabled"/>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">到账金额</label>
            <div class="layui-input-block">
                <input type="text" value="{$info.receipt_amount}" class="layui-input" disabled="disabled"/>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">支付方式</label>
            <div class="layui-input-block">
                <input type="text" value="{$info.pay_way}" class="layui-input" disabled="disabled"/>
            </div>
        </div>
<!--        <div class="layui-form-item uploadImageBox">-->

<!--            <label class="layui-form-label">支付凭证</label>-->
<!--            <?php $image = explode(',',$info['images']);?>-->
<!--            <div class="layui-upload">-->

<!--                <div class="layui-upload-list showImages">-->
<!--                    {foreach name="$image" item="vo"}-->
<!--                    <div class="imgContainer uploadImageBoxes">-->
<!--                        <a target="_blank" href="{$vo}"><img src="{$vo}" style="width: 20%;height: auto"></a>-->
<!--                    </div>-->
<!--                    {/foreach}-->
<!--                </div>-->

<!--            </div>-->

<!--        </div>-->
        <div class="layui-form-item">
            <label class="layui-form-label">充值时间</label>
            <div class="layui-input-block">
                <input type="text" value="{$info.create_time}" class="layui-input" disabled="disabled"/>
            </div>
        </div>
<!--        <div class="layui-form-item">-->
<!--            <label class="layui-form-label">审核</label>-->
<!--            {if $info->getData('status') == 1}-->
<!--            <div class="layui-input-inline">-->
<!--                <input type="radio" name="status" value="2" title="通过">-->
<!--                <input type="radio" name="status" value="3" title="驳回">-->
<!--            </div>-->

<!--            {else}-->
<!--            <div class="layui-input-block">-->
<!--                <input type="text"-->
<!--                       value="{if $info->getData('status') == 2}已通过{elseif $info->getData('status') == 3}已驳回{else}待审核{/if}"-->
<!--                       class="layui-input" disabled="disabled"/>-->
<!--            </div>-->
<!--            {/if}-->
<!--        </div>-->
<!--        {if $info->getData('status') != 2}-->
<!--        <div class="layui-form-item">-->
<!--            <label class="layui-form-label">驳回原因</label>-->
<!--            <div class="layui-input-block">-->
<!--                <input type="text" name="reject_msg" value="{$info.reject_msg}" placeholder="如要驳回请输入驳回原因"-->
<!--                       class="layui-input"/>-->
<!--            </div>-->
<!--        </div>-->
<!--        {/if}-->
<!--        {if $info->getData('status') > 1}-->
<!--        <div class="layui-form-item">-->
<!--            <label class="layui-form-label">审核时间</label>-->
<!--            <div class="layui-input-block">-->
<!--                <input type="text" value="{$info.update_time}" class="layui-input" disabled="disabled"/>-->
<!--            </div>-->
<!--        </div>-->
<!--        <div class="layui-form-item">-->
<!--            <label class="layui-form-label">审核人</label>-->
<!--            <div class="layui-input-block">-->
<!--                <input type="text" value="{$info.admin_name}" class="layui-input" disabled/>-->
<!--            </div>-->

<!--        </div>-->
<!--        {/if}-->

    </form>
</div>
{if $info->getData('status') == 1}
{include file="public/submit" /}
{/if}
</body>
{include file="public/footer" /}
</html>